package xyz.wpxy.iotlink.network.core.entity;

public class DataEntity {
    /**
     * 消息唯一id
     */
    private String msgid;

    /**
     * 服务编号
     */
    private int serviceId=1;

    /**
     * 产品编号
     */
    private String productSn;

    /**
     * 网关编号
     * 父设备编号
     */
    private String gatewaySn;

    private int deviceType;

    /**
     * 设备编号
     */
    private String deviceSn;

    /**
     * 通道口
     */
    private String channelPort;

    /**
     * 物模型编号
     */
    private String modelSn;

    private String imei;

    private Long timestamp;

    public String getMsgid() {
        return msgid;
    }

    public void setMsgid(String msgid) {
        this.msgid = msgid;
    }

    public int getServiceId() {
        return serviceId;
    }

    public void setServiceId(int serviceId) {
        this.serviceId = serviceId;
    }

    public String getProductSn() {
        return productSn;
    }

    public void setProductSn(String productSn) {
        this.productSn = productSn;
    }

    public String getGatewaySn() {
        return gatewaySn;
    }

    public void setGatewaySn(String gatewaySn) {
        this.gatewaySn = gatewaySn;
    }

    public int getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(int deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn;
    }

    public String getChannelPort() {
        return channelPort;
    }

    public void setChannelPort(String channelPort) {
        this.channelPort = channelPort;
    }

    public String getModelSn() {
        return modelSn;
    }

    public void setModelSn(String modelSn) {
        this.modelSn = modelSn;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "DataEntity{" +
                "msgid='" + msgid + '\'' +
                ", serviceId=" + serviceId +
                ", productSn='" + productSn + '\'' +
                ", gatewaySn='" + gatewaySn + '\'' +
                ", deviceSn='" + deviceSn + '\'' +
                ", channelPort='" + channelPort + '\'' +
                ", modelSn='" + modelSn + '\'' +
                ", imei='" + imei + '\'' +
                ", timestamp=" + timestamp +
                '}';
    }
}
